import {combineReducers} from 'redux';
import user from './user';
export default (() => {
  // const context = require.context('./', false, /\.js$/);
  // const keys = context.keys().filter(item => item !== './index.js');
  // const reducers = [];
  // keys.reduce((memo, key) => {
  //     reducers.push({ name: key.match(/([^\/]+)\.js$/)[1], reducer: context(key).default });
  // }, {});
  return combineReducers({
    user,
  });
})();
